package com.airili.wiki.service.impl;

import com.airili.wiki.domain.Demo;
import com.airili.wiki.mapper.DemoMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @description:
 * @author: Airili
 * @create: 2021-09-24 10:12
 **/
@Service
public class DemoService {
    @Resource
    private DemoMapper demoMapper;

    public List<Demo> list() {
        return demoMapper.selectByExample(null);
    }

}
